net/http/internal.chunkedReader.err (field)
20 uses
net/http/internal (current package)
chunked.go#L40: err error
chunked.go#L49: line, cr.err = readChunkLine(cr.r)
chunked.go#L50: if cr.err != nil {
chunked.go#L55: line, cr.err = removeChunkExtension(line)
chunked.go#L56: if cr.err != nil {
chunked.go#L59: cr.n, cr.err = parseHexUint(line)
chunked.go#L60: if cr.err != nil {
chunked.go#L81: cr.err = errors.New("chunked encoding contains too much non-data")
chunked.go#L84: cr.err = io.EOF
chunked.go#L98: for cr.err == nil {
chunked.go#L106: if _, cr.err = io.ReadFull(cr.r, cr.buf[:2]); cr.err == nil {
chunked.go#L108: cr.err = errors.New("malformed chunked encoding")
chunked.go#L112: if cr.err == io.EOF {
chunked.go#L113: cr.err = io.ErrUnexpectedEOF
chunked.go#L136: n0, cr.err = cr.r.Read(rbuf)
chunked.go#L142: if cr.n == 0 && cr.err == nil {
chunked.go#L144: } else if cr.err == io.EOF {
chunked.go#L145: cr.err = io.ErrUnexpectedEOF
chunked.go#L148: return n, cr.err
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |